package com.rxh.service;

import com.rxh.pojo.core.CoreAcquirer;
import com.rxh.pojo.core.CoreAcquirerAccount;
import com.rxh.pojo.core.CoreAcquirerRate;
import com.rxh.pojo.core.CoreBank;
import com.rxh.vo.VoCoreAcquirer;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 陈俊雄
 * Date: 2018/3/22
 * Time: 15:04
 * Project: Management
 * Package: com.rxh.service
 */
public interface AcquirerService {

    List<CoreBank> selectAllBank();

    Boolean updateBank(CoreBank bank, String userName);

    Boolean addBank(CoreBank bank, String userName);

    List<Integer> deleteBank(List<Integer> idList);

    List<CoreAcquirer> selectAllAcquirer();

    List<CoreAcquirer> selectAllEnableAcquirer();

    Boolean updateAcquirer(VoCoreAcquirer acquirer, String userName);

    Boolean addAcquirer(VoCoreAcquirer acquirer, String userName);

    List<Integer> deleteAcquirer(List<Integer> idList);

    List<CoreAcquirerRate> selectAcquirerRateByAcquirerId(Long acquirerId);

    List<CoreAcquirerRate> selectAllAcquirerRate();

    Boolean updateAcquirerRateById(CoreAcquirerRate acquirerRate);

    Boolean addAcquirerRate(CoreAcquirerRate acquirerRate);

    Boolean deleteAcquirerRateByAcquirerId(Integer acquirerId);

    List<CoreAcquirerAccount> selectAllAcquirerAccount();

    List<CoreAcquirerAccount> selectAllEnableAcquirerAccount();

    Boolean updateAcquirerAccount(CoreAcquirerAccount acquirerAccount, String userName);

    Boolean addAcquirerAccount(CoreAcquirerAccount acquirerAccount, String userName);

    List<Integer> deleteAcquirerAccount(List<Integer> idList);
}
